home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / hal / device-manager / Const.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2007-05-11  |  1.7 KB  |  47 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.5)
  3.  
  4. '''This file contains global constants.'''
  5. NAME = 'hal-device-manager'
  6. NAME_LONG = 'HAL Device Manager'
  7. VERSION = '0.5.9'
  8. COPYRIGHT = 'Copyright (C) 2003 David Zeuthen.'
  9. INFO = 'This application shows information about\nhardware on your system'
  10. AUTHORS = [
  11.     'David Zeuthen <david@fubar.dk>',
  12.     'Shannon -jj Behrens <jjinux@yahoo.com> (for simplepy)']
  13. DATADIR = '/usr/share/hal/device-manager'
  14. PIXBUF_COLUMN = 0
  15. TITLE_COLUMN = 1
  16. UDI_COLUMN = 2
  17. BUS_NAMES = {
  18.     'unknown': 'Unknown',
  19.     'usb_device': 'USB',
  20.     'platform': 'Legacy Device',
  21.     'usb': 'USB Interface',
  22.     'pci': 'PCI',
  23.     'i2c': 'I2C',
  24.     'i2c_adapter': 'I2C Adapter',
  25.     'video4linux': 'Video4Linux',
  26.     'scsi_host': 'SCSI Host',
  27.     'scsi': 'SCSI',
  28.     'block': 'Block',
  29.     'ide': 'IDE',
  30.     'pnp': 'PNP',
  31.     'ide_host': 'IDE Host',
  32.     'macio': 'MacIO',
  33.     'serio': 'serio',
  34.     'ieee1394': 'IEEE1394',
  35.     'serial': 'Serial',
  36.     'usb-serial': 'USB Serial',
  37.     'pcmcia': 'PCMCIA' }
  38. STATE_NAMES = {
  39.     0: 'No device information file was found',
  40.     1: 'Enabling...',
  41.     2: 'Need information to enable',
  42.     3: 'Error enabling the device',
  43.     4: 'Enabled',
  44.     5: 'Disabling...',
  45.     6: 'Disabled',
  46.     7: 'Not plugged in' }
  47.